package com.teamall.web.fpxm.db.arg;

import java.util.*;
import java.math.*;
import org.apache.commons.lang.*;

public class AidProjectArg {
    private String pk_name = "PROJECT_ID";

    private String orderByClause;

    private String groupByClause;

    private String columns;

    private String countsql1;

    private String countsql2;

    private boolean distinct;

    private int rowStart = 0;

    private int rowEnd = 10;

    private List<AidProjectCriteria> oredCriteria;

    public AidProjectArg() {
        oredCriteria = new ArrayList<AidProjectCriteria>();
    }

    public void setPk_name(String pk_name) {
        this.pk_name = StringEscapeUtils.escapeSql(pk_name);
    }

    public String getPk_name() {
        return pk_name;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = StringEscapeUtils.escapeSql(orderByClause);
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = StringEscapeUtils.escapeSql(groupByClause);
    }

    public String geGroupByClause() {
        return groupByClause;
    }

    public void setColumns(String columns) {
        this.columns = StringEscapeUtils.escapeSql(columns);
    }

    public String geColumns() {
        return columns;
    }

    public void setCountsql1(String countsql1) {
        this.countsql1 = StringEscapeUtils.escapeSql(countsql1);
    }

    public String geCountsql1() {
        return countsql1;
    }

    public void setCountsql2(String countsql2) {
        this.countsql2 = StringEscapeUtils.escapeSql(countsql2);
    }

    public String geCountsql2() {
        return countsql2;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public void setRowStart(int rowStart) {
        this.rowStart = rowStart;
    }

    public void setRowEnd(int rowEnd) {
        this.rowEnd = rowEnd;
    }

    public int getRowStart() {
        return rowStart;
    }

    public int getRowEnd() {
        return rowEnd;
    }

    public List<AidProjectCriteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(AidProjectCriteria criteria) {
        oredCriteria.add(criteria);
    }

    public AidProjectCriteria or() {
    	AidProjectCriteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public AidProjectCriteria createCriteria() {
    	AidProjectCriteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected AidProjectCriteria createCriteriaInternal() {
    	AidProjectCriteria criteria = new AidProjectCriteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        groupByClause = null;
        columns = null;
        countsql1 = null;
        countsql2 = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<AidProjectCriterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<AidProjectCriterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<AidProjectCriterion> getAllCriteria() {
            return criteria;
        }

        public List<AidProjectCriterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new AidProjectCriterion(condition));
        }

        protected void addCriterion(String condition, Object value,
                String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new AidProjectCriterion(condition, value));
        }

        protected void addCriterion(String condition, Object value,
                String property, int likeType) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new AidProjectCriterion(condition, value, likeType));
        }

        protected void addCriterion(String condition, Object value1,
                Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property
                        + " cannot be null");
            }
            criteria.add(new AidProjectCriterion(condition, value1, value2));
        }

        public AidProjectCriteria andCriterionEqualTo(String criterion) {
            if (StringUtils.isBlank(criterion)) {
                criterion = "1=1";
            }
            addCriterion(criterion);
            return (AidProjectCriteria) this;
        }
        public AidProjectCriteria andProjectIdIsNull() {
            addCriterion("PROJECT_ID is null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectIdIsNotNull() {
            addCriterion("PROJECT_ID is not null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectIdEqualTo(Integer value) {
            addCriterion("PROJECT_ID =", value, "PROJECT_ID");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectIdNotEqualTo(Integer value) {
            addCriterion("PROJECT_ID <>", value, "PROJECT_ID");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectIdGreaterThan(Integer value) {
            addCriterion("PROJECT_ID >", value, "PROJECT_ID");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("PROJECT_ID >=", value, "PROJECT_ID");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectIdLessThan(Integer value) {
            addCriterion("PROJECT_ID <", value, "PROJECT_ID");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectIdLessThanOrEqualTo(Integer value) {
            addCriterion("PROJECT_ID <=", value, "PROJECT_ID");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectIdLike(Integer value) {
            addCriterion("PROJECT_ID like ", value, "PROJECT_ID", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectIdNotLike(Integer value) {
            addCriterion("PROJECT_ID  not like ", value, "PROJECT_ID", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectIdLeftLike(Integer value) {
            addCriterion("PROJECT_ID like ", value, "PROJECT_ID", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectIdNotLeftLike(Integer value) {
            addCriterion("PROJECT_ID  not like ", value, "PROJECT_ID", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectIdRightLike(Integer value) {
            addCriterion("PROJECT_ID like ", value, "PROJECT_ID", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectIdNotRightLike(Integer value) {
            addCriterion("PROJECT_ID  not like ", value, "PROJECT_ID", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectIdIn(List<Integer> values) {
            addCriterion("PROJECT_ID  in ", values, "PROJECT_ID");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectIdNotIn(List<Integer> values) {
            addCriterion("PROJECT_ID not in ", values, "PROJECT_ID");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectIdBetween(Integer value1, Integer value2) {
            addCriterion("PROJECT_ID between ", value1, value2, "PROJECT_ID");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectIdNotBetween(Integer value1, Integer value2) {
            addCriterion("PROJECT_ID not between ", value1, value2, "PROJECT_ID");
            return (AidProjectCriteria) this;
        }
        public AidProjectCriteria andProjectCodeIsNull() {
            addCriterion("PROJECT_CODE is null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectCodeIsNotNull() {
            addCriterion("PROJECT_CODE is not null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectCodeEqualTo(Integer value) {
            addCriterion("PROJECT_CODE =", value, "PROJECT_CODE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectCodeNotEqualTo(Integer value) {
            addCriterion("PROJECT_CODE <>", value, "PROJECT_CODE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectCodeGreaterThan(Integer value) {
            addCriterion("PROJECT_CODE >", value, "PROJECT_CODE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectCodeGreaterThanOrEqualTo(Integer value) {
            addCriterion("PROJECT_CODE >=", value, "PROJECT_CODE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectCodeLessThan(Integer value) {
            addCriterion("PROJECT_CODE <", value, "PROJECT_CODE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectCodeLessThanOrEqualTo(Integer value) {
            addCriterion("PROJECT_CODE <=", value, "PROJECT_CODE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectCodeLike(Integer value) {
            addCriterion("PROJECT_CODE like ", value, "PROJECT_CODE", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectCodeNotLike(Integer value) {
            addCriterion("PROJECT_CODE  not like ", value, "PROJECT_CODE", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectCodeLeftLike(Integer value) {
            addCriterion("PROJECT_CODE like ", value, "PROJECT_CODE", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectCodeNotLeftLike(Integer value) {
            addCriterion("PROJECT_CODE  not like ", value, "PROJECT_CODE", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectCodeRightLike(Integer value) {
            addCriterion("PROJECT_CODE like ", value, "PROJECT_CODE", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectCodeNotRightLike(Integer value) {
            addCriterion("PROJECT_CODE  not like ", value, "PROJECT_CODE", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectCodeIn(List<Integer> values) {
            addCriterion("PROJECT_CODE  in ", values, "PROJECT_CODE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectCodeNotIn(List<Integer> values) {
            addCriterion("PROJECT_CODE not in ", values, "PROJECT_CODE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectCodeBetween(Integer value1, Integer value2) {
            addCriterion("PROJECT_CODE between ", value1, value2, "PROJECT_CODE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectCodeNotBetween(Integer value1, Integer value2) {
            addCriterion("PROJECT_CODE not between ", value1, value2, "PROJECT_CODE");
            return (AidProjectCriteria) this;
        }
        public AidProjectCriteria andProjectNameIsNull() {
            addCriterion("PROJECT_NAME is null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectNameIsNotNull() {
            addCriterion("PROJECT_NAME is not null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectNameEqualTo(String value) {
            addCriterion("PROJECT_NAME =", value, "PROJECT_NAME");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectNameNotEqualTo(String value) {
            addCriterion("PROJECT_NAME <>", value, "PROJECT_NAME");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectNameGreaterThan(String value) {
            addCriterion("PROJECT_NAME >", value, "PROJECT_NAME");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectNameGreaterThanOrEqualTo(String value) {
            addCriterion("PROJECT_NAME >=", value, "PROJECT_NAME");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectNameLessThan(String value) {
            addCriterion("PROJECT_NAME <", value, "PROJECT_NAME");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectNameLessThanOrEqualTo(String value) {
            addCriterion("PROJECT_NAME <=", value, "PROJECT_NAME");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectNameLike(String value) {
            addCriterion("PROJECT_NAME like ", value, "PROJECT_NAME", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectNameNotLike(String value) {
            addCriterion("PROJECT_NAME  not like ", value, "PROJECT_NAME", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectNameLeftLike(String value) {
            addCriterion("PROJECT_NAME like ", value, "PROJECT_NAME", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectNameNotLeftLike(String value) {
            addCriterion("PROJECT_NAME  not like ", value, "PROJECT_NAME", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectNameRightLike(String value) {
            addCriterion("PROJECT_NAME like ", value, "PROJECT_NAME", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectNameNotRightLike(String value) {
            addCriterion("PROJECT_NAME  not like ", value, "PROJECT_NAME", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectNameIn(List<String> values) {
            addCriterion("PROJECT_NAME  in ", values, "PROJECT_NAME");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectNameNotIn(List<String> values) {
            addCriterion("PROJECT_NAME not in ", values, "PROJECT_NAME");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectNameBetween(String value1, String value2) {
            addCriterion("PROJECT_NAME between ", value1, value2, "PROJECT_NAME");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectNameNotBetween(String value1, String value2) {
            addCriterion("PROJECT_NAME not between ", value1, value2, "PROJECT_NAME");
            return (AidProjectCriteria) this;
        }
        public AidProjectCriteria andProjectTypeIsNull() {
            addCriterion("PROJECT_TYPE is null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectTypeIsNotNull() {
            addCriterion("PROJECT_TYPE is not null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectTypeEqualTo(Integer value) {
            addCriterion("PROJECT_TYPE =", value, "PROJECT_TYPE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectTypeNotEqualTo(Integer value) {
            addCriterion("PROJECT_TYPE <>", value, "PROJECT_TYPE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectTypeGreaterThan(Integer value) {
            addCriterion("PROJECT_TYPE >", value, "PROJECT_TYPE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("PROJECT_TYPE >=", value, "PROJECT_TYPE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectTypeLessThan(Integer value) {
            addCriterion("PROJECT_TYPE <", value, "PROJECT_TYPE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectTypeLessThanOrEqualTo(Integer value) {
            addCriterion("PROJECT_TYPE <=", value, "PROJECT_TYPE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectTypeLike(Integer value) {
            addCriterion("PROJECT_TYPE like ", value, "PROJECT_TYPE", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectTypeNotLike(Integer value) {
            addCriterion("PROJECT_TYPE  not like ", value, "PROJECT_TYPE", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectTypeLeftLike(Integer value) {
            addCriterion("PROJECT_TYPE like ", value, "PROJECT_TYPE", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectTypeNotLeftLike(Integer value) {
            addCriterion("PROJECT_TYPE  not like ", value, "PROJECT_TYPE", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectTypeRightLike(Integer value) {
            addCriterion("PROJECT_TYPE like ", value, "PROJECT_TYPE", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectTypeNotRightLike(Integer value) {
            addCriterion("PROJECT_TYPE  not like ", value, "PROJECT_TYPE", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectTypeIn(List<Integer> values) {
            addCriterion("PROJECT_TYPE  in ", values, "PROJECT_TYPE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectTypeNotIn(List<Integer> values) {
            addCriterion("PROJECT_TYPE not in ", values, "PROJECT_TYPE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectTypeBetween(Integer value1, Integer value2) {
            addCriterion("PROJECT_TYPE between ", value1, value2, "PROJECT_TYPE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("PROJECT_TYPE not between ", value1, value2, "PROJECT_TYPE");
            return (AidProjectCriteria) this;
        }
        public AidProjectCriteria andProjectSubTypeIsNull() {
            addCriterion("PROJECT_SUB_TYPE is null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectSubTypeIsNotNull() {
            addCriterion("PROJECT_SUB_TYPE is not null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectSubTypeEqualTo(Integer value) {
            addCriterion("PROJECT_SUB_TYPE =", value, "PROJECT_SUB_TYPE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectSubTypeNotEqualTo(Integer value) {
            addCriterion("PROJECT_SUB_TYPE <>", value, "PROJECT_SUB_TYPE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectSubTypeGreaterThan(Integer value) {
            addCriterion("PROJECT_SUB_TYPE >", value, "PROJECT_SUB_TYPE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectSubTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("PROJECT_SUB_TYPE >=", value, "PROJECT_SUB_TYPE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectSubTypeLessThan(Integer value) {
            addCriterion("PROJECT_SUB_TYPE <", value, "PROJECT_SUB_TYPE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectSubTypeLessThanOrEqualTo(Integer value) {
            addCriterion("PROJECT_SUB_TYPE <=", value, "PROJECT_SUB_TYPE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectSubTypeLike(Integer value) {
            addCriterion("PROJECT_SUB_TYPE like ", value, "PROJECT_SUB_TYPE", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectSubTypeNotLike(Integer value) {
            addCriterion("PROJECT_SUB_TYPE  not like ", value, "PROJECT_SUB_TYPE", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectSubTypeLeftLike(Integer value) {
            addCriterion("PROJECT_SUB_TYPE like ", value, "PROJECT_SUB_TYPE", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectSubTypeNotLeftLike(Integer value) {
            addCriterion("PROJECT_SUB_TYPE  not like ", value, "PROJECT_SUB_TYPE", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectSubTypeRightLike(Integer value) {
            addCriterion("PROJECT_SUB_TYPE like ", value, "PROJECT_SUB_TYPE", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectSubTypeNotRightLike(Integer value) {
            addCriterion("PROJECT_SUB_TYPE  not like ", value, "PROJECT_SUB_TYPE", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectSubTypeIn(List<Integer> values) {
            addCriterion("PROJECT_SUB_TYPE  in ", values, "PROJECT_SUB_TYPE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectSubTypeNotIn(List<Integer> values) {
            addCriterion("PROJECT_SUB_TYPE not in ", values, "PROJECT_SUB_TYPE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectSubTypeBetween(Integer value1, Integer value2) {
            addCriterion("PROJECT_SUB_TYPE between ", value1, value2, "PROJECT_SUB_TYPE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectSubTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("PROJECT_SUB_TYPE not between ", value1, value2, "PROJECT_SUB_TYPE");
            return (AidProjectCriteria) this;
        }
        public AidProjectCriteria andStateIsNull() {
            addCriterion("STATE is null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andStateIsNotNull() {
            addCriterion("STATE is not null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andStateEqualTo(Integer value) {
            addCriterion("STATE =", value, "STATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andStateNotEqualTo(Integer value) {
            addCriterion("STATE <>", value, "STATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andStateGreaterThan(Integer value) {
            addCriterion("STATE >", value, "STATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("STATE >=", value, "STATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andStateLessThan(Integer value) {
            addCriterion("STATE <", value, "STATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andStateLessThanOrEqualTo(Integer value) {
            addCriterion("STATE <=", value, "STATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andStateLike(Integer value) {
            addCriterion("STATE like ", value, "STATE", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andStateNotLike(Integer value) {
            addCriterion("STATE  not like ", value, "STATE", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andStateLeftLike(Integer value) {
            addCriterion("STATE like ", value, "STATE", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andStateNotLeftLike(Integer value) {
            addCriterion("STATE  not like ", value, "STATE", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andStateRightLike(Integer value) {
            addCriterion("STATE like ", value, "STATE", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andStateNotRightLike(Integer value) {
            addCriterion("STATE  not like ", value, "STATE", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andStateIn(List<Integer> values) {
            addCriterion("STATE  in ", values, "STATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andStateNotIn(List<Integer> values) {
            addCriterion("STATE not in ", values, "STATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andStateBetween(Integer value1, Integer value2) {
            addCriterion("STATE between ", value1, value2, "STATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andStateNotBetween(Integer value1, Integer value2) {
            addCriterion("STATE not between ", value1, value2, "STATE");
            return (AidProjectCriteria) this;
        }
        public AidProjectCriteria andBeginDateIsNull() {
            addCriterion("BEGIN_DATE is null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andBeginDateIsNotNull() {
            addCriterion("BEGIN_DATE is not null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andBeginDateEqualTo(Date value) {
            addCriterion("BEGIN_DATE =", value, "BEGIN_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andBeginDateNotEqualTo(Date value) {
            addCriterion("BEGIN_DATE <>", value, "BEGIN_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andBeginDateGreaterThan(Date value) {
            addCriterion("BEGIN_DATE >", value, "BEGIN_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andBeginDateGreaterThanOrEqualTo(Date value) {
            addCriterion("BEGIN_DATE >=", value, "BEGIN_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andBeginDateLessThan(Date value) {
            addCriterion("BEGIN_DATE <", value, "BEGIN_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andBeginDateLessThanOrEqualTo(Date value) {
            addCriterion("BEGIN_DATE <=", value, "BEGIN_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andBeginDateLike(Date value) {
            addCriterion("BEGIN_DATE like ", value, "BEGIN_DATE", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andBeginDateNotLike(Date value) {
            addCriterion("BEGIN_DATE  not like ", value, "BEGIN_DATE", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andBeginDateLeftLike(Date value) {
            addCriterion("BEGIN_DATE like ", value, "BEGIN_DATE", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andBeginDateNotLeftLike(Date value) {
            addCriterion("BEGIN_DATE  not like ", value, "BEGIN_DATE", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andBeginDateRightLike(Date value) {
            addCriterion("BEGIN_DATE like ", value, "BEGIN_DATE", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andBeginDateNotRightLike(Date value) {
            addCriterion("BEGIN_DATE  not like ", value, "BEGIN_DATE", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andBeginDateIn(List<Date> values) {
            addCriterion("BEGIN_DATE  in ", values, "BEGIN_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andBeginDateNotIn(List<Date> values) {
            addCriterion("BEGIN_DATE not in ", values, "BEGIN_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andBeginDateBetween(Date value1, Date value2) {
            addCriterion("BEGIN_DATE between ", value1, value2, "BEGIN_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andBeginDateNotBetween(Date value1, Date value2) {
            addCriterion("BEGIN_DATE not between ", value1, value2, "BEGIN_DATE");
            return (AidProjectCriteria) this;
        }
        public AidProjectCriteria andEndDateIsNull() {
            addCriterion("END_DATE is null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEndDateIsNotNull() {
            addCriterion("END_DATE is not null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEndDateEqualTo(Date value) {
            addCriterion("END_DATE =", value, "END_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEndDateNotEqualTo(Date value) {
            addCriterion("END_DATE <>", value, "END_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEndDateGreaterThan(Date value) {
            addCriterion("END_DATE >", value, "END_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEndDateGreaterThanOrEqualTo(Date value) {
            addCriterion("END_DATE >=", value, "END_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEndDateLessThan(Date value) {
            addCriterion("END_DATE <", value, "END_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEndDateLessThanOrEqualTo(Date value) {
            addCriterion("END_DATE <=", value, "END_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEndDateLike(Date value) {
            addCriterion("END_DATE like ", value, "END_DATE", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEndDateNotLike(Date value) {
            addCriterion("END_DATE  not like ", value, "END_DATE", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEndDateLeftLike(Date value) {
            addCriterion("END_DATE like ", value, "END_DATE", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEndDateNotLeftLike(Date value) {
            addCriterion("END_DATE  not like ", value, "END_DATE", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEndDateRightLike(Date value) {
            addCriterion("END_DATE like ", value, "END_DATE", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEndDateNotRightLike(Date value) {
            addCriterion("END_DATE  not like ", value, "END_DATE", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEndDateIn(List<Date> values) {
            addCriterion("END_DATE  in ", values, "END_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEndDateNotIn(List<Date> values) {
            addCriterion("END_DATE not in ", values, "END_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEndDateBetween(Date value1, Date value2) {
            addCriterion("END_DATE between ", value1, value2, "END_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEndDateNotBetween(Date value1, Date value2) {
            addCriterion("END_DATE not between ", value1, value2, "END_DATE");
            return (AidProjectCriteria) this;
        }
        public AidProjectCriteria andTotalInvestIsNull() {
            addCriterion("TOTAL_INVEST is null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andTotalInvestIsNotNull() {
            addCriterion("TOTAL_INVEST is not null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andTotalInvestEqualTo(BigDecimal value) {
            addCriterion("TOTAL_INVEST =", value, "TOTAL_INVEST");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andTotalInvestNotEqualTo(BigDecimal value) {
            addCriterion("TOTAL_INVEST <>", value, "TOTAL_INVEST");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andTotalInvestGreaterThan(BigDecimal value) {
            addCriterion("TOTAL_INVEST >", value, "TOTAL_INVEST");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andTotalInvestGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("TOTAL_INVEST >=", value, "TOTAL_INVEST");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andTotalInvestLessThan(BigDecimal value) {
            addCriterion("TOTAL_INVEST <", value, "TOTAL_INVEST");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andTotalInvestLessThanOrEqualTo(BigDecimal value) {
            addCriterion("TOTAL_INVEST <=", value, "TOTAL_INVEST");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andTotalInvestLike(BigDecimal value) {
            addCriterion("TOTAL_INVEST like ", value, "TOTAL_INVEST", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andTotalInvestNotLike(BigDecimal value) {
            addCriterion("TOTAL_INVEST  not like ", value, "TOTAL_INVEST", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andTotalInvestLeftLike(BigDecimal value) {
            addCriterion("TOTAL_INVEST like ", value, "TOTAL_INVEST", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andTotalInvestNotLeftLike(BigDecimal value) {
            addCriterion("TOTAL_INVEST  not like ", value, "TOTAL_INVEST", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andTotalInvestRightLike(BigDecimal value) {
            addCriterion("TOTAL_INVEST like ", value, "TOTAL_INVEST", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andTotalInvestNotRightLike(BigDecimal value) {
            addCriterion("TOTAL_INVEST  not like ", value, "TOTAL_INVEST", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andTotalInvestIn(List<BigDecimal> values) {
            addCriterion("TOTAL_INVEST  in ", values, "TOTAL_INVEST");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andTotalInvestNotIn(List<BigDecimal> values) {
            addCriterion("TOTAL_INVEST not in ", values, "TOTAL_INVEST");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andTotalInvestBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TOTAL_INVEST between ", value1, value2, "TOTAL_INVEST");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andTotalInvestNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TOTAL_INVEST not between ", value1, value2, "TOTAL_INVEST");
            return (AidProjectCriteria) this;
        }
        public AidProjectCriteria andPlanInvestIsNull() {
            addCriterion("PLAN_INVEST is null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanInvestIsNotNull() {
            addCriterion("PLAN_INVEST is not null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanInvestEqualTo(BigDecimal value) {
            addCriterion("PLAN_INVEST =", value, "PLAN_INVEST");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanInvestNotEqualTo(BigDecimal value) {
            addCriterion("PLAN_INVEST <>", value, "PLAN_INVEST");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanInvestGreaterThan(BigDecimal value) {
            addCriterion("PLAN_INVEST >", value, "PLAN_INVEST");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanInvestGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("PLAN_INVEST >=", value, "PLAN_INVEST");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanInvestLessThan(BigDecimal value) {
            addCriterion("PLAN_INVEST <", value, "PLAN_INVEST");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanInvestLessThanOrEqualTo(BigDecimal value) {
            addCriterion("PLAN_INVEST <=", value, "PLAN_INVEST");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanInvestLike(BigDecimal value) {
            addCriterion("PLAN_INVEST like ", value, "PLAN_INVEST", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanInvestNotLike(BigDecimal value) {
            addCriterion("PLAN_INVEST  not like ", value, "PLAN_INVEST", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanInvestLeftLike(BigDecimal value) {
            addCriterion("PLAN_INVEST like ", value, "PLAN_INVEST", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanInvestNotLeftLike(BigDecimal value) {
            addCriterion("PLAN_INVEST  not like ", value, "PLAN_INVEST", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanInvestRightLike(BigDecimal value) {
            addCriterion("PLAN_INVEST like ", value, "PLAN_INVEST", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanInvestNotRightLike(BigDecimal value) {
            addCriterion("PLAN_INVEST  not like ", value, "PLAN_INVEST", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanInvestIn(List<BigDecimal> values) {
            addCriterion("PLAN_INVEST  in ", values, "PLAN_INVEST");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanInvestNotIn(List<BigDecimal> values) {
            addCriterion("PLAN_INVEST not in ", values, "PLAN_INVEST");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanInvestBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("PLAN_INVEST between ", value1, value2, "PLAN_INVEST");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanInvestNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("PLAN_INVEST not between ", value1, value2, "PLAN_INVEST");
            return (AidProjectCriteria) this;
        }
        public AidProjectCriteria andProjectDescIsNull() {
            addCriterion("PROJECT_DESC is null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectDescIsNotNull() {
            addCriterion("PROJECT_DESC is not null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectDescEqualTo(String value) {
            addCriterion("PROJECT_DESC =", value, "PROJECT_DESC");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectDescNotEqualTo(String value) {
            addCriterion("PROJECT_DESC <>", value, "PROJECT_DESC");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectDescGreaterThan(String value) {
            addCriterion("PROJECT_DESC >", value, "PROJECT_DESC");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectDescGreaterThanOrEqualTo(String value) {
            addCriterion("PROJECT_DESC >=", value, "PROJECT_DESC");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectDescLessThan(String value) {
            addCriterion("PROJECT_DESC <", value, "PROJECT_DESC");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectDescLessThanOrEqualTo(String value) {
            addCriterion("PROJECT_DESC <=", value, "PROJECT_DESC");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectDescLike(String value) {
            addCriterion("PROJECT_DESC like ", value, "PROJECT_DESC", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectDescNotLike(String value) {
            addCriterion("PROJECT_DESC  not like ", value, "PROJECT_DESC", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectDescLeftLike(String value) {
            addCriterion("PROJECT_DESC like ", value, "PROJECT_DESC", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectDescNotLeftLike(String value) {
            addCriterion("PROJECT_DESC  not like ", value, "PROJECT_DESC", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectDescRightLike(String value) {
            addCriterion("PROJECT_DESC like ", value, "PROJECT_DESC", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectDescNotRightLike(String value) {
            addCriterion("PROJECT_DESC  not like ", value, "PROJECT_DESC", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectDescIn(List<String> values) {
            addCriterion("PROJECT_DESC  in ", values, "PROJECT_DESC");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectDescNotIn(List<String> values) {
            addCriterion("PROJECT_DESC not in ", values, "PROJECT_DESC");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectDescBetween(String value1, String value2) {
            addCriterion("PROJECT_DESC between ", value1, value2, "PROJECT_DESC");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectDescNotBetween(String value1, String value2) {
            addCriterion("PROJECT_DESC not between ", value1, value2, "PROJECT_DESC");
            return (AidProjectCriteria) this;
        }
        public AidProjectCriteria andCityLeaderIsNull() {
            addCriterion("CITY_LEADER is null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andCityLeaderIsNotNull() {
            addCriterion("CITY_LEADER is not null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andCityLeaderEqualTo(String value) {
            addCriterion("CITY_LEADER =", value, "CITY_LEADER");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andCityLeaderNotEqualTo(String value) {
            addCriterion("CITY_LEADER <>", value, "CITY_LEADER");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andCityLeaderGreaterThan(String value) {
            addCriterion("CITY_LEADER >", value, "CITY_LEADER");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andCityLeaderGreaterThanOrEqualTo(String value) {
            addCriterion("CITY_LEADER >=", value, "CITY_LEADER");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andCityLeaderLessThan(String value) {
            addCriterion("CITY_LEADER <", value, "CITY_LEADER");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andCityLeaderLessThanOrEqualTo(String value) {
            addCriterion("CITY_LEADER <=", value, "CITY_LEADER");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andCityLeaderLike(String value) {
            addCriterion("CITY_LEADER like ", value, "CITY_LEADER", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andCityLeaderNotLike(String value) {
            addCriterion("CITY_LEADER  not like ", value, "CITY_LEADER", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andCityLeaderLeftLike(String value) {
            addCriterion("CITY_LEADER like ", value, "CITY_LEADER", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andCityLeaderNotLeftLike(String value) {
            addCriterion("CITY_LEADER  not like ", value, "CITY_LEADER", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andCityLeaderRightLike(String value) {
            addCriterion("CITY_LEADER like ", value, "CITY_LEADER", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andCityLeaderNotRightLike(String value) {
            addCriterion("CITY_LEADER  not like ", value, "CITY_LEADER", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andCityLeaderIn(List<String> values) {
            addCriterion("CITY_LEADER  in ", values, "CITY_LEADER");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andCityLeaderNotIn(List<String> values) {
            addCriterion("CITY_LEADER not in ", values, "CITY_LEADER");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andCityLeaderBetween(String value1, String value2) {
            addCriterion("CITY_LEADER between ", value1, value2, "CITY_LEADER");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andCityLeaderNotBetween(String value1, String value2) {
            addCriterion("CITY_LEADER not between ", value1, value2, "CITY_LEADER");
            return (AidProjectCriteria) this;
        }
        public AidProjectCriteria andDepartmentIsNull() {
            addCriterion("DEPARTMENT is null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andDepartmentIsNotNull() {
            addCriterion("DEPARTMENT is not null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andDepartmentEqualTo(String value) {
            addCriterion("DEPARTMENT =", value, "DEPARTMENT");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andDepartmentNotEqualTo(String value) {
            addCriterion("DEPARTMENT <>", value, "DEPARTMENT");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andDepartmentGreaterThan(String value) {
            addCriterion("DEPARTMENT >", value, "DEPARTMENT");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andDepartmentGreaterThanOrEqualTo(String value) {
            addCriterion("DEPARTMENT >=", value, "DEPARTMENT");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andDepartmentLessThan(String value) {
            addCriterion("DEPARTMENT <", value, "DEPARTMENT");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andDepartmentLessThanOrEqualTo(String value) {
            addCriterion("DEPARTMENT <=", value, "DEPARTMENT");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andDepartmentLike(String value) {
            addCriterion("DEPARTMENT like ", value, "DEPARTMENT", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andDepartmentNotLike(String value) {
            addCriterion("DEPARTMENT  not like ", value, "DEPARTMENT", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andDepartmentLeftLike(String value) {
            addCriterion("DEPARTMENT like ", value, "DEPARTMENT", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andDepartmentNotLeftLike(String value) {
            addCriterion("DEPARTMENT  not like ", value, "DEPARTMENT", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andDepartmentRightLike(String value) {
            addCriterion("DEPARTMENT like ", value, "DEPARTMENT", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andDepartmentNotRightLike(String value) {
            addCriterion("DEPARTMENT  not like ", value, "DEPARTMENT", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andDepartmentIn(List<String> values) {
            addCriterion("DEPARTMENT  in ", values, "DEPARTMENT");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andDepartmentNotIn(List<String> values) {
            addCriterion("DEPARTMENT not in ", values, "DEPARTMENT");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andDepartmentBetween(String value1, String value2) {
            addCriterion("DEPARTMENT between ", value1, value2, "DEPARTMENT");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andDepartmentNotBetween(String value1, String value2) {
            addCriterion("DEPARTMENT not between ", value1, value2, "DEPARTMENT");
            return (AidProjectCriteria) this;
        }
        public AidProjectCriteria andPovertyLeaderIsNull() {
            addCriterion("POVERTY_LEADER is null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPovertyLeaderIsNotNull() {
            addCriterion("POVERTY_LEADER is not null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPovertyLeaderEqualTo(String value) {
            addCriterion("POVERTY_LEADER =", value, "POVERTY_LEADER");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPovertyLeaderNotEqualTo(String value) {
            addCriterion("POVERTY_LEADER <>", value, "POVERTY_LEADER");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPovertyLeaderGreaterThan(String value) {
            addCriterion("POVERTY_LEADER >", value, "POVERTY_LEADER");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPovertyLeaderGreaterThanOrEqualTo(String value) {
            addCriterion("POVERTY_LEADER >=", value, "POVERTY_LEADER");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPovertyLeaderLessThan(String value) {
            addCriterion("POVERTY_LEADER <", value, "POVERTY_LEADER");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPovertyLeaderLessThanOrEqualTo(String value) {
            addCriterion("POVERTY_LEADER <=", value, "POVERTY_LEADER");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPovertyLeaderLike(String value) {
            addCriterion("POVERTY_LEADER like ", value, "POVERTY_LEADER", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPovertyLeaderNotLike(String value) {
            addCriterion("POVERTY_LEADER  not like ", value, "POVERTY_LEADER", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPovertyLeaderLeftLike(String value) {
            addCriterion("POVERTY_LEADER like ", value, "POVERTY_LEADER", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPovertyLeaderNotLeftLike(String value) {
            addCriterion("POVERTY_LEADER  not like ", value, "POVERTY_LEADER", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPovertyLeaderRightLike(String value) {
            addCriterion("POVERTY_LEADER like ", value, "POVERTY_LEADER", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPovertyLeaderNotRightLike(String value) {
            addCriterion("POVERTY_LEADER  not like ", value, "POVERTY_LEADER", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPovertyLeaderIn(List<String> values) {
            addCriterion("POVERTY_LEADER  in ", values, "POVERTY_LEADER");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPovertyLeaderNotIn(List<String> values) {
            addCriterion("POVERTY_LEADER not in ", values, "POVERTY_LEADER");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPovertyLeaderBetween(String value1, String value2) {
            addCriterion("POVERTY_LEADER between ", value1, value2, "POVERTY_LEADER");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPovertyLeaderNotBetween(String value1, String value2) {
            addCriterion("POVERTY_LEADER not between ", value1, value2, "POVERTY_LEADER");
            return (AidProjectCriteria) this;
        }
        public AidProjectCriteria andPlanDateIsNull() {
            addCriterion("PLAN_DATE is null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanDateIsNotNull() {
            addCriterion("PLAN_DATE is not null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanDateEqualTo(Date value) {
            addCriterion("PLAN_DATE =", value, "PLAN_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanDateNotEqualTo(Date value) {
            addCriterion("PLAN_DATE <>", value, "PLAN_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanDateGreaterThan(Date value) {
            addCriterion("PLAN_DATE >", value, "PLAN_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanDateGreaterThanOrEqualTo(Date value) {
            addCriterion("PLAN_DATE >=", value, "PLAN_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanDateLessThan(Date value) {
            addCriterion("PLAN_DATE <", value, "PLAN_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanDateLessThanOrEqualTo(Date value) {
            addCriterion("PLAN_DATE <=", value, "PLAN_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanDateLike(Date value) {
            addCriterion("PLAN_DATE like ", value, "PLAN_DATE", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanDateNotLike(Date value) {
            addCriterion("PLAN_DATE  not like ", value, "PLAN_DATE", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanDateLeftLike(Date value) {
            addCriterion("PLAN_DATE like ", value, "PLAN_DATE", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanDateNotLeftLike(Date value) {
            addCriterion("PLAN_DATE  not like ", value, "PLAN_DATE", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanDateRightLike(Date value) {
            addCriterion("PLAN_DATE like ", value, "PLAN_DATE", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanDateNotRightLike(Date value) {
            addCriterion("PLAN_DATE  not like ", value, "PLAN_DATE", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanDateIn(List<Date> values) {
            addCriterion("PLAN_DATE  in ", values, "PLAN_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanDateNotIn(List<Date> values) {
            addCriterion("PLAN_DATE not in ", values, "PLAN_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanDateBetween(Date value1, Date value2) {
            addCriterion("PLAN_DATE between ", value1, value2, "PLAN_DATE");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andPlanDateNotBetween(Date value1, Date value2) {
            addCriterion("PLAN_DATE not between ", value1, value2, "PLAN_DATE");
            return (AidProjectCriteria) this;
        }
        public AidProjectCriteria andRespStaffIsNull() {
            addCriterion("RESP_STAFF is null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andRespStaffIsNotNull() {
            addCriterion("RESP_STAFF is not null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andRespStaffEqualTo(String value) {
            addCriterion("RESP_STAFF =", value, "RESP_STAFF");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andRespStaffNotEqualTo(String value) {
            addCriterion("RESP_STAFF <>", value, "RESP_STAFF");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andRespStaffGreaterThan(String value) {
            addCriterion("RESP_STAFF >", value, "RESP_STAFF");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andRespStaffGreaterThanOrEqualTo(String value) {
            addCriterion("RESP_STAFF >=", value, "RESP_STAFF");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andRespStaffLessThan(String value) {
            addCriterion("RESP_STAFF <", value, "RESP_STAFF");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andRespStaffLessThanOrEqualTo(String value) {
            addCriterion("RESP_STAFF <=", value, "RESP_STAFF");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andRespStaffLike(String value) {
            addCriterion("RESP_STAFF like ", value, "RESP_STAFF", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andRespStaffNotLike(String value) {
            addCriterion("RESP_STAFF  not like ", value, "RESP_STAFF", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andRespStaffLeftLike(String value) {
            addCriterion("RESP_STAFF like ", value, "RESP_STAFF", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andRespStaffNotLeftLike(String value) {
            addCriterion("RESP_STAFF  not like ", value, "RESP_STAFF", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andRespStaffRightLike(String value) {
            addCriterion("RESP_STAFF like ", value, "RESP_STAFF", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andRespStaffNotRightLike(String value) {
            addCriterion("RESP_STAFF  not like ", value, "RESP_STAFF", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andRespStaffIn(List<String> values) {
            addCriterion("RESP_STAFF  in ", values, "RESP_STAFF");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andRespStaffNotIn(List<String> values) {
            addCriterion("RESP_STAFF not in ", values, "RESP_STAFF");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andRespStaffBetween(String value1, String value2) {
            addCriterion("RESP_STAFF between ", value1, value2, "RESP_STAFF");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andRespStaffNotBetween(String value1, String value2) {
            addCriterion("RESP_STAFF not between ", value1, value2, "RESP_STAFF");
            return (AidProjectCriteria) this;
        }
        public AidProjectCriteria andProjectBelongIsNull() {
            addCriterion("PROJECT_BELONG is null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectBelongIsNotNull() {
            addCriterion("PROJECT_BELONG is not null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectBelongEqualTo(Integer value) {
            addCriterion("PROJECT_BELONG =", value, "PROJECT_BELONG");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectBelongNotEqualTo(Integer value) {
            addCriterion("PROJECT_BELONG <>", value, "PROJECT_BELONG");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectBelongGreaterThan(Integer value) {
            addCriterion("PROJECT_BELONG >", value, "PROJECT_BELONG");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectBelongGreaterThanOrEqualTo(Integer value) {
            addCriterion("PROJECT_BELONG >=", value, "PROJECT_BELONG");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectBelongLessThan(Integer value) {
            addCriterion("PROJECT_BELONG <", value, "PROJECT_BELONG");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectBelongLessThanOrEqualTo(Integer value) {
            addCriterion("PROJECT_BELONG <=", value, "PROJECT_BELONG");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectBelongLike(Integer value) {
            addCriterion("PROJECT_BELONG like ", value, "PROJECT_BELONG", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectBelongNotLike(Integer value) {
            addCriterion("PROJECT_BELONG  not like ", value, "PROJECT_BELONG", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectBelongLeftLike(Integer value) {
            addCriterion("PROJECT_BELONG like ", value, "PROJECT_BELONG", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectBelongNotLeftLike(Integer value) {
            addCriterion("PROJECT_BELONG  not like ", value, "PROJECT_BELONG", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectBelongRightLike(Integer value) {
            addCriterion("PROJECT_BELONG like ", value, "PROJECT_BELONG", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectBelongNotRightLike(Integer value) {
            addCriterion("PROJECT_BELONG  not like ", value, "PROJECT_BELONG", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectBelongIn(List<Integer> values) {
            addCriterion("PROJECT_BELONG  in ", values, "PROJECT_BELONG");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectBelongNotIn(List<Integer> values) {
            addCriterion("PROJECT_BELONG not in ", values, "PROJECT_BELONG");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectBelongBetween(Integer value1, Integer value2) {
            addCriterion("PROJECT_BELONG between ", value1, value2, "PROJECT_BELONG");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andProjectBelongNotBetween(Integer value1, Integer value2) {
            addCriterion("PROJECT_BELONG not between ", value1, value2, "PROJECT_BELONG");
            return (AidProjectCriteria) this;
        }
        public AidProjectCriteria andEstimatedIncomeIsNull() {
            addCriterion("ESTIMATED_INCOME is null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEstimatedIncomeIsNotNull() {
            addCriterion("ESTIMATED_INCOME is not null");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEstimatedIncomeEqualTo(BigDecimal value) {
            addCriterion("ESTIMATED_INCOME =", value, "ESTIMATED_INCOME");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEstimatedIncomeNotEqualTo(BigDecimal value) {
            addCriterion("ESTIMATED_INCOME <>", value, "ESTIMATED_INCOME");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEstimatedIncomeGreaterThan(BigDecimal value) {
            addCriterion("ESTIMATED_INCOME >", value, "ESTIMATED_INCOME");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEstimatedIncomeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ESTIMATED_INCOME >=", value, "ESTIMATED_INCOME");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEstimatedIncomeLessThan(BigDecimal value) {
            addCriterion("ESTIMATED_INCOME <", value, "ESTIMATED_INCOME");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEstimatedIncomeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ESTIMATED_INCOME <=", value, "ESTIMATED_INCOME");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEstimatedIncomeLike(BigDecimal value) {
            addCriterion("ESTIMATED_INCOME like ", value, "ESTIMATED_INCOME", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEstimatedIncomeNotLike(BigDecimal value) {
            addCriterion("ESTIMATED_INCOME  not like ", value, "ESTIMATED_INCOME", 1);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEstimatedIncomeLeftLike(BigDecimal value) {
            addCriterion("ESTIMATED_INCOME like ", value, "ESTIMATED_INCOME", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEstimatedIncomeNotLeftLike(BigDecimal value) {
            addCriterion("ESTIMATED_INCOME  not like ", value, "ESTIMATED_INCOME", 0);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEstimatedIncomeRightLike(BigDecimal value) {
            addCriterion("ESTIMATED_INCOME like ", value, "ESTIMATED_INCOME", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEstimatedIncomeNotRightLike(BigDecimal value) {
            addCriterion("ESTIMATED_INCOME  not like ", value, "ESTIMATED_INCOME", 2);
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEstimatedIncomeIn(List<BigDecimal> values) {
            addCriterion("ESTIMATED_INCOME  in ", values, "ESTIMATED_INCOME");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEstimatedIncomeNotIn(List<BigDecimal> values) {
            addCriterion("ESTIMATED_INCOME not in ", values, "ESTIMATED_INCOME");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEstimatedIncomeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ESTIMATED_INCOME between ", value1, value2, "ESTIMATED_INCOME");
            return (AidProjectCriteria) this;
        }

        public AidProjectCriteria andEstimatedIncomeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ESTIMATED_INCOME not between ", value1, value2, "ESTIMATED_INCOME");
            return (AidProjectCriteria) this;
        }

    }

    public static class AidProjectCriteria extends GeneratedCriteria {

        protected AidProjectCriteria() {
            super();
        }
    }

    public static class AidProjectCriterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected AidProjectCriterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }
        protected AidProjectCriterion(String condition, Object value, int likeType) {
            this.condition = condition;
            if (likeType == 0) {
                this.value = "%" + value;
            }
            else if (likeType == 1) {
                this.value = "%" + value + "%";
            }
            else {
                this.value = value + "%";
            }
            this.typeHandler = null;
            this.singleValue = true;

        }

        protected AidProjectCriterion(String condition, Object value,
                String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            }
            else {
                this.singleValue = true;
            }
        }

        protected AidProjectCriterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected AidProjectCriterion(String condition, Object value,
                Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected AidProjectCriterion(String condition, Object value,
                Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}